#pragma once

#include "GlobalDef.h"

namespace Ideaoptics
{
	class IDEAOPTICS_DLL ConnectionInfo
	{
	public:
		ConnectionInfo();
		ConnectionInfo(const char* pcIp, int pcPort, const char* spIp, int spPort);
		ConnectionInfo(const char* pcIp, int pcPort, const char* spIp, int spPort, const char* spSubnet);
		ConnectionInfo(const ConnectionInfo& info);
		~ConnectionInfo();
		ConnectionInfo& operator=(const ConnectionInfo& info);

		bool Equals(const ConnectionInfo& input);

		char* SpectrometerIP = nullptr;
		int SpectrometerPort;
		char* PCIP = nullptr;
		int PCPort;
		char* SpectrometerSubnetMask = nullptr;
	};
}
